Fix which-key--propertize-description use make-text-button return value (#249)
authorN V <44036031+progfolio@users.noreply.github.com>
Thu, 2 Jul 2020 02:19:37 +0000 (22:19 -0400)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2020 02:19:37 +0000 (22:19 -0400)
commit8f2427a69bc0388ddfb14a10eaf71e589f3b0913
treee8830f68b55ef708f1db073c87aab3eca94e94ae
parent8b49ae978cceca65967f3544c236f32964ddbed0
Fix which-key--propertize-description use make-text-button return value (#249)

As of:

https://github.com/emacs-mirror/emacs/commit/7ac79872aed63110c0d26c1e62e1838d6101c9bd

make-text-button no longer modifies a string when it is passed as the
first argument. which-key--propertize-description relied on the mutation
of the string argument. Using the return value of make-text-button will
return the propertized string with both the new and old behavior.

Fixes #248
which-key.el